Total Complexity | 52 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 370 |
Lines of code | 198 |
Logical lines of code | 126 |
Comment lines | 112 |
Methods | 13 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
trp_prepare_product_object() | 39 | 20 | 67 | |
trp_prepare_post_object() | 54 | 7 | 24 | |
is_rest() | 57 | 6 | 16 | |
trp_gp_get_lang_from_get() | 56 | 5 | 18 | |
app_builder_prepare_settings_data() | 50 | 4 | 30 | |
rest_api_init() | 58 | 2 | 14 | |
trp_gp_is_tp_active() | 70 | 2 | 7 | |
register_hooks() | 74 | 1 | 4 | |
trp_prepare_product_category_name() | 79 | 1 | 3 | |
trp_prepare_product_option_object() | 75 | 1 | 4 | |
trp_prepare_product_attribute_object() | 74 | 1 | 4 | |
trp_prepare_product_attribute_text() | 79 | 1 | 3 | |
woocommerce_product_get_name() | 75 | 1 | 4 |